package com.rjgc.title.model.entity.apply;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.rjgc.title.model.base.BaseApplyEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 专利
 * @program: title-parent
 * @author: Mr.Zhuo
 * @create: 2022-04-25 16:03
 **/
@Data
@ApiModel(description = "Patent")
@TableName("patent")
public class Patent extends BaseApplyEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "类别")
    @TableField("category")
    private String category;

    @ApiModelProperty(value = "名称")
    @TableField("name")
    private String name;


    @ApiModelProperty(value = "授予时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @TableField("grant_time")
    private Date GrantTime;

    @ApiModelProperty(value = "编号")
    @TableField("number")
    private String number;

    @ApiModelProperty(value = "排名")
    @TableField("ranking")
    private String ranking;

    @ApiModelProperty(value = "归属")
    @TableField("ascription")
    private String ascription;

    @ApiModelProperty(value = "经费（万）")
    @TableField("funds")
    private Long funds;

    @ApiModelProperty(value = "专利推广应用情况(经济效益证明(包括单位财务收据、财务发票等))(支持图片,pdf格式)")
    @TableField("upload_File_application")
    private String uploadFileApplication;

}
